package com.wf.day_0608.test4;

import java.util.ArrayList;
import java.util.Collections;

/**
 * @author mpk
 * @since 2024/6/9 10:10:04
 */
public class Test {
    public static void main(String[] args) {


        ArrayList<Integer> list = new ArrayList<>();

        Collections.addAll(list,10, 5, 20, 100, 200, 500, 800, 2, 80, 300, 700);

        MyThread t1 = new MyThread("抽奖箱1",list);
        MyThread t2 = new MyThread("抽奖箱2",list);

        t1.start();
        t2.start();
    }


}
